<?php
// +----------------------------------------------------------------------
// | 海豚PHP框架 [ DolphinPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
// +----------------------------------------------------------------------
// | 官方网站: http://dolphinphp.com
// +----------------------------------------------------------------------
// | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------

/**
 * 菜单信息
 */
return [
    [
        'title' => '供应商',
        'icon' => 'fa fa-fw fa-newspaper-o',
        'url_type' => 'module_admin',
        'url_value' => 'supplier/index/index',
        'url_target' => '_self',
        'online_hide' => 0,
        'sort' => 100,
        'child' =>

            [
                [
                    'title' => '供应商',
                    'icon' => 'fa fa-fw fa-money',
                    'url_type' => 'module_admin',
                    'url_value' => '',
                    'url_target' => '_self',
                    'online_hide' => 0,
                    'sort' => 100,
                    'child' => [
                        [
                            'title' => '供应商管理',
                            'icon' => 'fa fa-fw fa-handshake-o',
                            'url_type' => 'module_admin',
                            'url_value' => 'supplier/company/index',
                            'url_target' => '_self',
                            'online_hide' => 0,
                            'sort' => 100,
                            'child' => [
                                [
                                    'title' => '新增',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/company/add',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '编辑',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/company/edit',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '删除',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/company/delete',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '启用',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/company/enable',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '禁用',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/company/disable',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '快速编辑',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/company/quickedit',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],

                            ],
                        ],
                        [
                            'title' => '商品列表',
                            'icon' => 'fa fa-fw fa-photo',
                            'url_type' => 'module_admin',
                            'url_value' => 'supplier/goods/index',
                            'url_target' => '_self',
                            'online_hide' => 0,
                            'sort' => 100,
                            'child' => [
                                [
                                    'title' => '新增',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/goods/add',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '编辑',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/goods/edit',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '删除',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/goods/delete',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '启用',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/goods/enable',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '禁用',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/goods/disable',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '快速编辑',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/goods/quickedit',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                            ],
                        ],
                        [
                            'title' => '订单管理',
                            'icon' => 'fa fa-fw fa-order',
                            'url_type' => 'module_admin',
                            'url_value' => 'supplier/order/index',
                            'url_target' => '_self',
                            'online_hide' => 0,
                            'sort' => 100,
                            'child' => [
                                [
                                    'title' => '新增',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/order/add',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '编辑',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/order/edit',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '删除',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/order/delete',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '启用',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/order/enable',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '禁用',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/order/disable',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ],
                                [
                                    'title' => '快速编辑',
                                    'icon' => '',
                                    'url_type' => 'module_admin',
                                    'url_value' => 'supplier/order/quickedit',
                                    'url_target' => '_self',
                                    'online_hide' => 0,
                                    'sort' => 100,
                                ]
                            ]
                        ]
                    ]
                ]
            ]
    ]
];
